.class Lcom/ss/android/socialbase/downloader/impls/a$d;
.super Ljava/lang/Object;
.source "AbsDownloadEngine.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/ss/android/socialbase/downloader/impls/a;->b(IILes/sn0;Lcom/ss/android/socialbase/downloader/b/h;Z)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Les/zn0;

.field final synthetic b:Les/sn0;


# direct methods
.method constructor <init>(Lcom/ss/android/socialbase/downloader/impls/a;Les/zn0;Les/sn0;)V
    .locals 0

    .line 1
    iput-object p2, p0, Lcom/ss/android/socialbase/downloader/impls/a$d;->a:Les/zn0;

    iput-object p3, p0, Lcom/ss/android/socialbase/downloader/impls/a$d;->b:Les/sn0;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 5

    .line 1
    iget-object v0, p0, Lcom/ss/android/socialbase/downloader/impls/a$d;->a:Les/zn0;

    if-eqz v0, :cond_1

    iget-object v1, p0, Lcom/ss/android/socialbase/downloader/impls/a$d;->b:Les/sn0;

    if-eqz v1, :cond_1

    .line 2
    invoke-virtual {v0}, Les/zn0;->X0()I

    move-result v0

    const/4 v1, -0x3

    if-ne v0, v1, :cond_0

    .line 3
    iget-object v0, p0, Lcom/ss/android/socialbase/downloader/impls/a$d;->b:Les/sn0;

    iget-object v1, p0, Lcom/ss/android/socialbase/downloader/impls/a$d;->a:Les/zn0;

    invoke-interface {v0, v1}, Les/sn0;->e(Les/zn0;)V

    goto :goto_0

    .line 4
    :cond_0
    iget-object v0, p0, Lcom/ss/android/socialbase/downloader/impls/a$d;->a:Les/zn0;

    invoke-virtual {v0}, Les/zn0;->X0()I

    move-result v0

    const/4 v1, -0x1

    if-ne v0, v1, :cond_1

    .line 5
    iget-object v0, p0, Lcom/ss/android/socialbase/downloader/impls/a$d;->b:Les/sn0;

    iget-object v1, p0, Lcom/ss/android/socialbase/downloader/impls/a$d;->a:Les/zn0;

    new-instance v2, Lcom/ss/android/socialbase/downloader/e/a;

    const/16 v3, 0x3e8

    const-string v4, "\u5c1d\u8bd5\u4e3afailed\u7684\u4efb\u52a1add listener"

    invoke-direct {v2, v3, v4}, Lcom/ss/android/socialbase/downloader/e/a;-><init>(ILjava/lang/String;)V

    invoke-interface {v0, v1, v2}, Les/sn0;->a(Les/zn0;Lcom/ss/android/socialbase/downloader/e/a;)V

    :cond_1
    :goto_0
    return-void
.end method
